package com.zeei.ems.meet.dao;

import com.zeei.ems.meet.model.MeetingRecordUserVO;
import com.zeei.ems.meet.model.MeetingRecordVO;
import com.zeei.ems.meet.model.vo.MeetingRecordParam;
import com.zeei.ems.meet.model.vo.MeetingRecordUserParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MeetingRecordUserDao {

    /**
     * 获取会议参会人员记录
     * @param meetingRecordUser 会议参会人员查询条件
     * @return 返回会议记录列表
     */
    List<MeetingRecordUserVO> listMeetingRecordUser(@Param("meetingRecordUser") MeetingRecordUserParam meetingRecordUser);

    /**
     * 新增会议参会人员信息
     * @param meetingRecordUserList 会议参会人员信息
     * @return 返回会议信息
     */
    Integer addMeetingRecordUserList(@Param("meetingRecordUserList") List<MeetingRecordUserVO> meetingRecordUserList);
}
